﻿using System;
using System.Collections;
using System.Collections.Generic;

namespace HurricanePackage
{
    /// <summary>
    /// 状态机的条件接口
    /// </summary>
    public interface ITriggerForFsm<out TID> : IRecyclable
        where TID : Enum
    {
        /// <summary>
        /// 条件ID
        /// </summary>
        TID TriggerId { get; }

        /// <summary>
        /// 处理条件
        /// </summary>
        bool HandleTrigger(params object[] _params);
    }
}
